Suppose you have a (dependent) variable \(Y\) and a matrix of \(p\) variables \(\bf X\) and you want to get all the correlations between \(Y\) and \(X_i\) for \(i=1,\ldots,p\). if you type cor(y, x) in you will get a vector of the correlations. What I offer here is confidence interval for each of the correlations, the test statistic and the p-values for the hypothesis that each of them is equal to some value \(\rho\). The p-values and test statistics are useful for meta-analysis for example, combination of the p-values in one or even to see the false discovery rate (see the package fdrtool by Korbinian Strimmer).